package com.wx.bean;

import org.springframework.beans.factory.annotation.Autowired;

public class AutowiredClassA {
	@Autowired
	private AutowiredClassB autowiredClassB;

	public AutowiredClassA() {
	}

	public AutowiredClassA(AutowiredClassB autowiredClassB) {
		this.autowiredClassB = autowiredClassB;
	}

//	public AutowiredClassB getAutowiredClassB() {
//		return autowiredClassB;
//	}
//
//	public void setAutowiredClassB(AutowiredClassB autowiredClassB) {
//		this.autowiredClassB = autowiredClassB;
//	}

	@Override
	public String toString() {
		return "AutowiredClassA{" +
				"autowiredClassB=" + autowiredClassB +
				'}';
	}
}
